<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./index.css"/>
    <script src="./index.min.js"></script>
</head>
<body>
<div id="vditor" style="height:300px;"></div>
</body>
<script>
    const vditor =new Vditor('vditor', {
      "height": 500,
      "cache": {
        "enable": false
      },
      "value": "",
      "mode": "ir",
    });
    window.obtainContent=function(){
        return vditor.getValue();
    }
</script>
</html>